*{
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;

}
.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.container a{
    display: inherit;
    width: 150px;
    height: 50px;
    color: #2f3542;
    font-size: 20px;
    background: transparent;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid #2f3542;
    transition: .5s;
    transform: skew(15deg);
}
.container a:hover{
    background: #70a1ff;
    color: #fff;
}
span:nth-child(1){
    position: absolute;
    width: 15px;
    height: 100%;
    border: 2px solid #2f3542;
    top: 6px;
    left: -19px;
    transform: skewY(-45deg);

}
span:nth-child(2){
    position: absolute;
    width: 100%;
    height: 15px;
    border: 2px solid #2f3542;
    bottom: -19px;
    right: 6px;
    transform: skewX(-45deg);

}


